home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
gtdce11.zip
/
GTDCE.DOC
< prev
next >
Wrap
Text File
|
1992-04-04
|
3KB
|
90 lines
┌─────────────────────────────────────────────┐
│ GTDCE v1.1 by Douglas Pippel (c) 1992 │
│ For use with GT Power v15/16/17 │
└─────────────────────────────────────────────┘
Gets a caller's DCE baud rate from the GTUSER.BBS in the GTPATH and
returns an errorlevel based on that baud rate:
DCE Baud Rate Errorlevel Returned
───────────── ───────────────────
14400 144
9600 96
2400 24
1200 12
300 3
Unsuccessful 0
GTDCE v1.0 will work with ANY version of GT Power from v15.01 on up. It
could care less about GT v17.00's Time Bank entries in GTUSER.BBS, so
you don't need to worry about that. In situations where the Sysop is
running GT with a locked DTE rate, GTDCE can be used to determine the
caller's ACTUAL (DCE) baud rate so that appropriate action can be taken
in Door, external protocol or custom menu command batch files. Here's a
little example:
@echo off
gtdce
if errorlevel 96 goto 9600
if errorlevel 24 goto 2400
if errorlevel 12 goto 1200
if errorlevel 3 goto 300
goto end
:9600
echo.
echo The caller's DCE baud rate is 9600.
echo.
goto end
:2400
echo.
echo The caller's DCE baud rate is 2400.
echo.
goto end
:1200
echo.
echo The caller's DCE baud rate is 1200.
echo.
goto end
:300
echo.
echo The caller's DCE baud rate is 300.
echo.
:end
GTDCE requires no command line parameters at all. To get a help screen
from the program, just PASS it a command line parameter...it doesn't
matter what it is. For example:
GTDCE s
Will display the help screen, as will:
GTDCE sdasf2323rewfdsdqwaed
I hope that some of you find this program useful!
──────────────────────────────
HISTORY:
4-3-92 Version 1.1 released. Adds support for 14400 DCE result codes.
3-12-92 Version 1.0 released.
──────────────────────────────
GTDCE is absolutely FREE. You really wouldn't want to pay money for
something like this anyway. It may be distributed with whatever you
like and used however, wherever and with whomever you like.
DISCLAIMER: Use this program ENTIRELY at your own risk! There are no
warranties expressed or implied. The author will not be reponsible for
loss of data (or anything else) that results from the use of this
program.